package com.example.mardan_demo1.service;

import com.example.mardan_demo1.pojo.Result;
import com.example.mardan_demo1.pojo.qx.QxInfo;
import com.example.mardan_demo1.pojo.yp.YpInfo;

public interface YpInfoService{



    int insert(YpInfo record);


    Result list(String yangPinMingCheng, Integer pageSize, Integer pageNum);

    Result getDetailById(Integer id);

    Result khUpdateById(YpInfo ypInfo);


    Result adminGetYpList(String yangPinMingCheng, Integer pageSize, Integer pageNum);

    Result adminGetYaoPinDetailById(Integer id);

    Result deleteByPrimaryKey(Integer id);

    Result kehuDelYaoPinById(Integer id);

    Result kehuTiJiaoYaoPin(Integer yaoPinId);

    Result adminBoHuiShouLi(Integer yaoPinId, String chuLiYiJian);

    Result adminJieshouShouLi(Integer yaoPinId, String jianPinBianHao, String chuLiYiJian);

    Result adminJianyanWanchengShangChuanFujian(Integer yangPinId, String baoGaoShuFuJian);

    Result getProcessLogsById(Integer yangPinId);

    Result keHuCheXiaoTiJiaoCaoZuo(Integer yangPinId);

    Result adminCount();

    Result qxAdd(QxInfo qx);


    Result updateByPrimaryKeySelective(QxInfo qx);

    Result qxGetOwnList(String yangPinMingCheng, Integer pageSize, Integer pageNum);

    Result qxUserGetOwnQxInfoByQxId(Integer qxId);

    Result qxKehuTiJiaoYaoPin(Integer qxId);

    Result qxKeHuCheHui(Integer qxId);

    Result qxKeHuShanChu(Integer qxId);

    Result adminQxGetDetailById(Integer id);


    Result adminQxGetList(String yangPinMingCheng, Integer pageNum, Integer pageSize);

    Result adminQxBoHuiShouLi(Integer qxId, String chuLiYiJian);

    Result adminQxTongYiShouLi(Integer qxId, String jianPinBianHao, String chuLiYiJian);

    Result adminQxJianYanWanCheng(Integer qxId, String baoGaoShuFuJian);

    Result adminQxGetProcessLogsById(Integer qxId);

    Result userQxGetProcessLogsById(Integer qxId);

    Result adminQxGetJinDuById(Integer qxId);
}
